package com.qzct.service.impl;

import com.mybatisflex.spring.service.impl.ServiceImpl;
import com.qzct.entity.Admin;
import com.qzct.mapper.AdminMapper;
import com.qzct.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 *  服务层实现。
 *
 * @author 闽闽
 * @since 2024-12-07
 */
@Service
public class AdminServiceImpl extends ServiceImpl<AdminMapper, Admin> implements AdminService {
    @Autowired
    AdminMapper adminMapper;

    @Override
    public Admin login(String name, String password) {
        return adminMapper.login(name,password);
    }
}
